aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
diff options
context:
space:
mode:
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected8
1 files changed, 4 insertions, 4 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 57e4ffa0..a59e32bd 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -24,7 +24,7 @@ Compilation unit elements:
memory-load
(local "effectHandler__1")
pointer=(local "closurePointer__0")
- layout=(struct (data-ptr (struct (function-ptr (struct (data-ptr)) (struct ())))))
+ layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct (data-ptr)) (struct ())))))
offset=(1 1 0)
)
(call _ "shed__runtime__effects_set_handler" ((local "effectHandler__1")))
@@ -42,11 +42,11 @@ Locals:
Instructions:
(
- (alloc-heap (local "closurePointer__f__0") (struct (data-ptr (struct (function-ptr (struct (data-ptr)) (struct ()))))))
+ (alloc-heap (local "closurePointer__f__0") (struct ((struct (data-ptr int)) (struct (function-ptr (struct (data-ptr)) (struct ()))))))
(
memory-store
pointer=(local "closurePointer__f__0")
- layout=(struct (data-ptr (struct (function-ptr (struct (data-ptr)) (struct ())))))
+ layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct (data-ptr)) (struct ())))))
offset=(1 0)
value=(function-ptr "shed__effectHandlerMethod__f__0")
)
@@ -54,7 +54,7 @@ Instructions:
(
memory-store
pointer=(local "closurePointer__f__0")
- layout=(struct (data-ptr (struct (function-ptr (struct (data-ptr)) (struct ())))))
+ layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct (data-ptr)) (struct ())))))
offset=(1 1 0)
value=(local "effectHandlerCurrent__0")
)